package com.kgo.log.logtools.controller;

import com.kgo.log.logtools.entity.LoggerViewEntity;
import com.kgo.log.logtools.params.FTLViewName;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class LogViewController {
    @GetMapping(value = "/logview")
    public String gotoLoggerView(LoggerViewEntity loggerViewEntity){
        ModelMap map = new ModelMap();
        map.put(FTLViewName.logger_view,loggerViewEntity);
        return FTLViewName.logger_view;
    }
}
